const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,

  publicPath:"/",
  outputDir:'dist',
  assetsDir: 'static',
  devServer: {
    port: 8080,
    proxy: {
      '/api': {
        changeOrigin: true,
        ws: true,
        target: 'http://127.0.0.1:8000', // 本地
        pathRewrite: {
          '^/api': ''
        },
      }
    }
  }
})